package org.xhy.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

//开启Feign
@EnableFeignClients
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("org.xhy.hrm.mapper")
@EnableCaching //开启springcache
@Import(TokenInterceptor.class)
public class CourseServiceApp4030 {
    public static void main(String[] args) {
        SpringApplication.run(CourseServiceApp4030.class,args) ;
    }
}
